<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/dgr-tcp-application.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d7/d06/dgr-tcp-application_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">dgr-tcp-application.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d7/d06/dgr-tcp-application_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#ifndef DGR_TCP_APPLICATION_H</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#define DGR_TCP_APPLICATION_H</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;ns3/address.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;ns3/application.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &quot;ns3/event-id.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &quot;ns3/ptr.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;ns3/traced-callback.h&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;ns3/seq-ts-size-header.h&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">class </span>Address;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="keyword">class </span>Socket;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html">   23</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html">DGRTcpApplication</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../de/d6b/class_application.html">Application</a></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>{</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>  <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a88ded51d43467ff95d97c02b8cfe16bb">GetTypeId</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>  <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#afbb5a3b78bd1e3ef24d5d16b7ec787f8">DGRTcpApplication</a> ();</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>  <span class="keyword">virtual</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac219762c67ff6b442ba12801a80b85ec">~DGRTcpApplication</a> ();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a53de82871f6985b8f9134be7fe44132b">SetMaxBytes</a> (uint64_t maxBytes);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a38da0549e1824f6df93438967f401590">SetFlag</a> (<span class="keywordtype">bool</span> flag);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>  Ptr&lt;Socket&gt; <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a100d0d42cd494d29080f9b5c7b7f2d90">GetSocket</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac70dce4689a9be6573b6e0ec78684cf2">Setup</a> (Ptr&lt;Socket&gt; socket, Address sinkAddress, uint64_t maxBytes, uint32_t budget, <span class="keywordtype">bool</span> flag);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac70dce4689a9be6573b6e0ec78684cf2">Setup</a> (Ptr&lt;Socket&gt; socket, Address sinkAddress, uint64_t maxBytes, <span class="keywordtype">bool</span> flag);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a312417a478c3b5a00ef3c316bb5e7f44">DoDispose</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>  <span class="comment">// inherited from Application base class.</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad3f18ec72baf186800e72eed654eac2c">StartApplication</a> (<span class="keywordtype">void</span>);    <span class="comment">// Called at time specified by Start</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a50b822663c8dfd33f8d1001a499d2412">StopApplication</a> (<span class="keywordtype">void</span>);     <span class="comment">// Called at time specified by Stop</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a5d97018a7a55030432c7bd4941439224">SendData</a> (<span class="keyword">const</span> Address &amp;from, <span class="keyword">const</span> Address &amp;to);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#adc5e7c4e810093018464aa7fd2d42f3a">   70</a></span>  Ptr&lt;Socket&gt;     <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#adc5e7c4e810093018464aa7fd2d42f3a">m_socket</a>;       </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a2bb9a7886237a94c209af01fd2835176">   71</a></span>  Address         <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a2bb9a7886237a94c209af01fd2835176">m_peer</a>;         </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a8ec3f328863fe6fb94692268ba859359">   72</a></span>  Address         <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a8ec3f328863fe6fb94692268ba859359">m_local</a>;        </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac69ff120417cd0a01d75479b292084c3">   73</a></span>  <span class="keywordtype">bool</span>            <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac69ff120417cd0a01d75479b292084c3">m_connected</a>;    </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac9d6793547c0b63e06c57c60a98950f5">   74</a></span>  uint32_t        <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac9d6793547c0b63e06c57c60a98950f5">m_sendSize</a>;     </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a1b7cdb5af21ab280cb0851a088a996ef">   75</a></span>  uint64_t        <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a1b7cdb5af21ab280cb0851a088a996ef">m_maxBytes</a>;     </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a7ed974b02f36e99bb1b49eb54876b4f7">   76</a></span>  uint64_t        <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a7ed974b02f36e99bb1b49eb54876b4f7">m_totBytes</a>;     </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a62988e671dfa974811f37d898b8be226">   77</a></span>  TypeId          <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a62988e671dfa974811f37d898b8be226">m_tid</a>;          </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a00358215749864240a2839e7ee189958">   78</a></span>  uint32_t        <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a00358215749864240a2839e7ee189958">m_seq</a> {0};      </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#aa0cd91f1b931e1c5f3a94d5a785a1dff">   79</a></span>  Ptr&lt;Packet&gt;     <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#aa0cd91f1b931e1c5f3a94d5a785a1dff">m_unsentPacket</a>; </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a56acd6cac80df3f97b8eeaae6fd3a01c">   80</a></span>  uint32_t        <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a56acd6cac80df3f97b8eeaae6fd3a01c">m_budget</a>;       </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a15de77be23dd9fac37c72dbee6e64049">   81</a></span>  <span class="keywordtype">bool</span>            <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a15de77be23dd9fac37c72dbee6e64049">m_flag</a> {<span class="keyword">false</span>}; </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>  <span class="comment">// bool            m_enableSeqTsSizeHeader {false}; //!&lt; Enable or disable the SeqTsSizeHeader</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad414778df2751fc0d7574a50cb7cafb2">   85</a></span>  TracedCallback&lt;Ptr&lt;const Packet&gt; &gt; <a class="code hl_variable" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad414778df2751fc0d7574a50cb7cafb2">m_txTrace</a>;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a240d181619fe26fa934e3e152c153696">ConnectionSucceeded</a> (Ptr&lt;Socket&gt; socket);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a9a1ef27f22bee68f71fbd609695a4037">ConnectionFailed</a> (Ptr&lt;Socket&gt; socket);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad6e628629f8e191964b873fed001a902">DataSend</a> (Ptr&lt;Socket&gt;, uint32_t); <span class="comment">// for socket&#39;s SetSendCallback</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>};</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>} <span class="comment">// namespace ns3</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="preprocessor">#endif </span><span class="comment">/* DGR_TCP_SEND_APPLICATION_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclass_application_html"><div class="ttname"><a href="../../de/d6b/class_application.html">Application</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html">ns3::DGRTcpApplication</a></div><div class="ttdoc">This moduel comes from bulk Send Application TCP application need to enable packet tags in TcpRxBuffe...</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00023">dgr-tcp-application.h:24</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a00358215749864240a2839e7ee189958"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a00358215749864240a2839e7ee189958">ns3::DGRTcpApplication::m_seq</a></div><div class="ttdeci">uint32_t m_seq</div><div class="ttdoc">Sequence.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00078">dgr-tcp-application.h:78</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a100d0d42cd494d29080f9b5c7b7f2d90"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a100d0d42cd494d29080f9b5c7b7f2d90">ns3::DGRTcpApplication::GetSocket</a></div><div class="ttdeci">Ptr&lt; Socket &gt; GetSocket(void) const</div><div class="ttdoc">Get the socket this application is attached to.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00125">dgr-tcp-application.cc:125</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a15de77be23dd9fac37c72dbee6e64049"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a15de77be23dd9fac37c72dbee6e64049">ns3::DGRTcpApplication::m_flag</a></div><div class="ttdeci">bool m_flag</div><div class="ttdoc">flag for test</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00081">dgr-tcp-application.h:81</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a1b7cdb5af21ab280cb0851a088a996ef"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a1b7cdb5af21ab280cb0851a088a996ef">ns3::DGRTcpApplication::m_maxBytes</a></div><div class="ttdeci">uint64_t m_maxBytes</div><div class="ttdoc">Limit total number of bytes sent.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00075">dgr-tcp-application.h:75</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a240d181619fe26fa934e3e152c153696"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a240d181619fe26fa934e3e152c153696">ns3::DGRTcpApplication::ConnectionSucceeded</a></div><div class="ttdeci">void ConnectionSucceeded(Ptr&lt; Socket &gt; socket)</div><div class="ttdoc">Connection Succeeded (called by Socket through a callback)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00304">dgr-tcp-application.cc:304</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a2bb9a7886237a94c209af01fd2835176"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a2bb9a7886237a94c209af01fd2835176">ns3::DGRTcpApplication::m_peer</a></div><div class="ttdeci">Address m_peer</div><div class="ttdoc">Peer address.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00071">dgr-tcp-application.h:71</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a312417a478c3b5a00ef3c316bb5e7f44"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a312417a478c3b5a00ef3c316bb5e7f44">ns3::DGRTcpApplication::DoDispose</a></div><div class="ttdeci">virtual void DoDispose(void)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00132">dgr-tcp-application.cc:132</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a38da0549e1824f6df93438967f401590"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a38da0549e1824f6df93438967f401590">ns3::DGRTcpApplication::SetFlag</a></div><div class="ttdeci">void SetFlag(bool flag)</div><div class="ttdoc">Set the flag of packet used in the sink to help monitor the packet delay.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00100">dgr-tcp-application.cc:100</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a50b822663c8dfd33f8d1001a499d2412"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a50b822663c8dfd33f8d1001a499d2412">ns3::DGRTcpApplication::StopApplication</a></div><div class="ttdeci">virtual void StopApplication(void)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00201">dgr-tcp-application.cc:201</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a53de82871f6985b8f9134be7fe44132b"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a53de82871f6985b8f9134be7fe44132b">ns3::DGRTcpApplication::SetMaxBytes</a></div><div class="ttdeci">void SetMaxBytes(uint64_t maxBytes)</div><div class="ttdoc">Set the upper bound for the total number of bytes to send.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00093">dgr-tcp-application.cc:93</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a56acd6cac80df3f97b8eeaae6fd3a01c"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a56acd6cac80df3f97b8eeaae6fd3a01c">ns3::DGRTcpApplication::m_budget</a></div><div class="ttdeci">uint32_t m_budget</div><div class="ttdoc">Budget time in ms.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00080">dgr-tcp-application.h:80</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a5d97018a7a55030432c7bd4941439224"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a5d97018a7a55030432c7bd4941439224">ns3::DGRTcpApplication::SendData</a></div><div class="ttdeci">void SendData(const Address &amp;from, const Address &amp;to)</div><div class="ttdoc">Send data until the L4 transmission buffer is full.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00219">dgr-tcp-application.cc:219</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a62988e671dfa974811f37d898b8be226"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a62988e671dfa974811f37d898b8be226">ns3::DGRTcpApplication::m_tid</a></div><div class="ttdeci">TypeId m_tid</div><div class="ttdoc">The type of protocol to use.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00077">dgr-tcp-application.h:77</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a7ed974b02f36e99bb1b49eb54876b4f7"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a7ed974b02f36e99bb1b49eb54876b4f7">ns3::DGRTcpApplication::m_totBytes</a></div><div class="ttdeci">uint64_t m_totBytes</div><div class="ttdoc">Total bytes sent so far.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00076">dgr-tcp-application.h:76</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a88ded51d43467ff95d97c02b8cfe16bb"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a88ded51d43467ff95d97c02b8cfe16bb">ns3::DGRTcpApplication::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId(void)</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00028">dgr-tcp-application.cc:28</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a8ec3f328863fe6fb94692268ba859359"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a8ec3f328863fe6fb94692268ba859359">ns3::DGRTcpApplication::m_local</a></div><div class="ttdeci">Address m_local</div><div class="ttdoc">Local address to bind to.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00072">dgr-tcp-application.h:72</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_a9a1ef27f22bee68f71fbd609695a4037"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a9a1ef27f22bee68f71fbd609695a4037">ns3::DGRTcpApplication::ConnectionFailed</a></div><div class="ttdeci">void ConnectionFailed(Ptr&lt; Socket &gt; socket)</div><div class="ttdoc">Connection Failed (called by Socket through a callback)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00315">dgr-tcp-application.cc:315</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_aa0cd91f1b931e1c5f3a94d5a785a1dff"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#aa0cd91f1b931e1c5f3a94d5a785a1dff">ns3::DGRTcpApplication::m_unsentPacket</a></div><div class="ttdeci">Ptr&lt; Packet &gt; m_unsentPacket</div><div class="ttdoc">Variable to cache unsent packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00079">dgr-tcp-application.h:79</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ac219762c67ff6b442ba12801a80b85ec"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac219762c67ff6b442ba12801a80b85ec">ns3::DGRTcpApplication::~DGRTcpApplication</a></div><div class="ttdeci">virtual ~DGRTcpApplication()</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00087">dgr-tcp-application.cc:87</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ac69ff120417cd0a01d75479b292084c3"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac69ff120417cd0a01d75479b292084c3">ns3::DGRTcpApplication::m_connected</a></div><div class="ttdeci">bool m_connected</div><div class="ttdoc">True if connected.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00073">dgr-tcp-application.h:73</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ac70dce4689a9be6573b6e0ec78684cf2"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac70dce4689a9be6573b6e0ec78684cf2">ns3::DGRTcpApplication::Setup</a></div><div class="ttdeci">void Setup(Ptr&lt; Socket &gt; socket, Address sinkAddress, uint64_t maxBytes, uint32_t budget, bool flag)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00106">dgr-tcp-application.cc:106</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ac9d6793547c0b63e06c57c60a98950f5"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ac9d6793547c0b63e06c57c60a98950f5">ns3::DGRTcpApplication::m_sendSize</a></div><div class="ttdeci">uint32_t m_sendSize</div><div class="ttdoc">Size of data to send each time.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00074">dgr-tcp-application.h:74</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ad3f18ec72baf186800e72eed654eac2c"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad3f18ec72baf186800e72eed654eac2c">ns3::DGRTcpApplication::StartApplication</a></div><div class="ttdeci">virtual void StartApplication(void)</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00143">dgr-tcp-application.cc:143</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ad414778df2751fc0d7574a50cb7cafb2"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad414778df2751fc0d7574a50cb7cafb2">ns3::DGRTcpApplication::m_txTrace</a></div><div class="ttdeci">TracedCallback&lt; Ptr&lt; const Packet &gt; &gt; m_txTrace</div><div class="ttdoc">Traced Callback: sent packets.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00085">dgr-tcp-application.h:85</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_ad6e628629f8e191964b873fed001a902"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad6e628629f8e191964b873fed001a902">ns3::DGRTcpApplication::DataSend</a></div><div class="ttdeci">void DataSend(Ptr&lt; Socket &gt;, uint32_t)</div><div class="ttdoc">Send more data as soon as some has been transmitted.</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00321">dgr-tcp-application.cc:321</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_adc5e7c4e810093018464aa7fd2d42f3a"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#adc5e7c4e810093018464aa7fd2d42f3a">ns3::DGRTcpApplication::m_socket</a></div><div class="ttdeci">Ptr&lt; Socket &gt; m_socket</div><div class="ttdoc">Associated socket.</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d06/dgr-tcp-application_8h_source.html#l00070">dgr-tcp-application.h:70</a></div></div>
<div class="ttc" id="aclassns3_1_1_d_g_r_tcp_application_html_afbb5a3b78bd1e3ef24d5d16b7ec787f8"><div class="ttname"><a href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#afbb5a3b78bd1e3ef24d5d16b7ec787f8">ns3::DGRTcpApplication::DGRTcpApplication</a></div><div class="ttdeci">DGRTcpApplication()</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00076">dgr-tcp-application.cc:76</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../d7/d06/dgr-tcp-application_8h.html">dgr-tcp-application.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
